﻿using System;
using System.Linq;
using System.Runtime.Serialization;

namespace MeetSomeNearbyStrangerWebApi.Models
{
    [DataContract]
    public class Area
    {
        [DataMember(Name = "bottomLeftCorner", IsRequired = true)]
        public Corner BottomLeftCorner { get; set; }

        [DataMember(Name = "upperRightCorner", IsRequired = true)]
        public Corner UpperRightCorner { get; set; }
    }
}